﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using COFE.Core;

namespace COFE.Web
{


    public interface IEntryList
    {
        /// <summary>
        /// Internal Id of the entry list, Guid.Empty if not specified.
        /// </summary>
        Guid Id { get; }

        /// <summary>
        /// Entry list name, can only set when first created.
        /// </summary>
        String Name { get; }

        /// <summary>
        /// Specify Parameter to construct an EntryList.
        /// Used by AutoEntryList for filterstr.
        /// </summary>
        string Parameter { get; }

        /// <summary>
        /// Entry list type, Xml, Custom or Auto
        /// </summary>
        EntryListType Type { get; }       

        IEnumerable<Entry> Entries { get; }        
        
        StatusType Status { get; }
    }
}
